﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicalLog.Domain.Entities.Doctor>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Actualizar Doctor
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="header">
        <h2>
            Actualizar Doctor 
            <%=Model.Name %>
        </h2>
    </div>
    <% using (Html.BeginForm(FormMethod.Post)) {%>
            <%: Html.ValidationSummary(true) %>
    <div id="main">
            <fieldset class="main-style">
                <table>
                    <tbody>
                        <tr>
                            <td class="display-label">
                                Id:
                            </td>
                            <td class="display-field">
                                <%: Model.IdDoctor %>
                                <%: Html.HiddenFor(x=>x.IdDoctor)%>
                            </td>        
                        </tr>
                        <tr>
                            <td class="display-label">
                                Nombre:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Name)%>
                                <%: Html.ValidationMessageFor(model => model.Name)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Apellido:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.LastName)%>
                                <%: Html.ValidationMessageFor(model => model.LastName)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Tel&eacute;fono:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Telephone)%>
                                <%: Html.ValidationMessageFor(model => model.Telephone)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Celular :
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Celphone)%>
                                <%: Html.ValidationMessageFor(model => model.Celphone)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Direcci&oacute;n:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Address)%>
                                <%: Html.ValidationMessageFor(model => model.Address)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                E-mail:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Email)%>
                                <%: Html.ValidationMessageFor(model => model.Email)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Usuario:
                            </td>
                            <td class="display-field">
                                <%: Html.TextBoxFor(model => model.Username)%>
                                <%: Html.ValidationMessageFor(model => model.Username)%>
                            </td>
                        </tr>
                        <tr>
                            <td class="display-label">
                                Clave:
                            </td>
                            <td class="display-field">
                                <%: Html.PasswordFor(model => model.Password)%>
                                <%: Html.ValidationMessageFor(model => model.Password)%>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </fieldset>
    </div>
    <div class="footer">
        <h4>
            Acciones
        </h4>
        <fieldset class="main-style2">
            <p>
                <input type="submit" value="Actualizar" />
            </p>
            <%: Html.ActionLink("Regresar a la página principal", "SearchPatient", "Patient")%>
        </fieldset>
    </div>
    <% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

